////
////  Small BlurImage vs BoW.cpp
////  markerARLib
////
////  Created by fg on 6/2/16.
////  Copyright © 2016 CvidKal. All rights reserved.
////
//
//#include <opencv2/opencv.hpp>
//
//
//#include "Algorithm.hpp"
//#include "Relocalisation.h"
//#include <fstream>
//#include <stdio.h>
//#include "TestImage.hpp"
//
//
//int main()
//{
////    FILE* f = fopen("/Users/fg/cycle/marker1.txt", "w");
////    FILE* f2= fopen("/Users/fg/cycle/marker2.txt", "w");
////    cv::Mat m1,m2;
////    
////    m1 = imread("/Users/fg/Desktop/marker1.jpg");
////    m2 = imread("/Users/fg/Desktop/marker2.jpg");
////    resize(m1, m1, cv::Size(480,360));
////    resize(m2, m2, cv::Size(480,360));
////    for (int i=0; i<m1.rows;++i) {
////        for (int j=0; j<m1.cols; ++j) {
////            fprintf(f, "%d,%d,%d,",m1.at<Vec3b>(i,j)[0],m1.at<Vec3b>(i,j)[1],m1.at<Vec3b>(i,j)[2]);
////            fprintf(f2, "%d,%d,%d,",m2.at<Vec3b>(i,j)[0],m2.at<Vec3b>(i,j)[1],m2.at<Vec3b>(i,j)[2]);
////            
////        }
////    }
////    fclose(f);
////    fclose(f2);
//
//    Mat m1(360,480,CV_8UC3);
//    Mat m2 = m1.clone();
//    memcpy(m1.data, marker1, sizeof(marker1));
//    
//    memcpy(m2.data, marker2, sizeof(marker2));
//    imshow("i1", m1);
//    imshow("i2", m2);
//    cvWaitKey();
//};
